﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000BB7 RID: 2999
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyLikeCsReq : IMessage<MonopolyLikeCsReq>, IMessage, IEquatable<MonopolyLikeCsReq>, IDeepCloneable<MonopolyLikeCsReq>, IBufferMessage
	{
		// Token: 0x170025C9 RID: 9673
		// (get) Token: 0x0600861E RID: 34334 RVA: 0x00164974 File Offset: 0x00162B74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyLikeCsReq> Parser
		{
			get
			{
				return MonopolyLikeCsReq._parser;
			}
		}

		// Token: 0x170025CA RID: 9674
		// (get) Token: 0x0600861F RID: 34335 RVA: 0x0016497B File Offset: 0x00162B7B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyLikeCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170025CB RID: 9675
		// (get) Token: 0x06008620 RID: 34336 RVA: 0x0016498D File Offset: 0x00162B8D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyLikeCsReq.Descriptor;
			}
		}

		// Token: 0x06008621 RID: 34337 RVA: 0x00164994 File Offset: 0x00162B94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyLikeCsReq()
		{
		}

		// Token: 0x06008622 RID: 34338 RVA: 0x0016499C File Offset: 0x00162B9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyLikeCsReq(MonopolyLikeCsReq other) : this()
		{
			this.iCFEEGEIIOB_ = other.iCFEEGEIIOB_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008623 RID: 34339 RVA: 0x001649C1 File Offset: 0x00162BC1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyLikeCsReq Clone()
		{
			return new MonopolyLikeCsReq(this);
		}

		// Token: 0x170025CC RID: 9676
		// (get) Token: 0x06008624 RID: 34340 RVA: 0x001649C9 File Offset: 0x00162BC9
		// (set) Token: 0x06008625 RID: 34341 RVA: 0x001649D1 File Offset: 0x00162BD1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ICFEEGEIIOB
		{
			get
			{
				return this.iCFEEGEIIOB_;
			}
			set
			{
				this.iCFEEGEIIOB_ = value;
			}
		}

		// Token: 0x06008626 RID: 34342 RVA: 0x001649DA File Offset: 0x00162BDA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyLikeCsReq);
		}

		// Token: 0x06008627 RID: 34343 RVA: 0x001649E8 File Offset: 0x00162BE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyLikeCsReq other)
		{
			return other != null && (other == this || (this.ICFEEGEIIOB == other.ICFEEGEIIOB && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008628 RID: 34344 RVA: 0x00164A18 File Offset: 0x00162C18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ICFEEGEIIOB != 0U)
			{
				num ^= this.ICFEEGEIIOB.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008629 RID: 34345 RVA: 0x00164A57 File Offset: 0x00162C57
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600862A RID: 34346 RVA: 0x00164A5F File Offset: 0x00162C5F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600862B RID: 34347 RVA: 0x00164A68 File Offset: 0x00162C68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ICFEEGEIIOB != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.ICFEEGEIIOB);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600862C RID: 34348 RVA: 0x00164A9C File Offset: 0x00162C9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ICFEEGEIIOB != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ICFEEGEIIOB);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600862D RID: 34349 RVA: 0x00164ADA File Offset: 0x00162CDA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyLikeCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ICFEEGEIIOB != 0U)
			{
				this.ICFEEGEIIOB = other.ICFEEGEIIOB;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600862E RID: 34350 RVA: 0x00164B0B File Offset: 0x00162D0B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600862F RID: 34351 RVA: 0x00164B14 File Offset: 0x00162D14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.ICFEEGEIIOB = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400331F RID: 13087
		private static readonly MessageParser<MonopolyLikeCsReq> _parser = new MessageParser<MonopolyLikeCsReq>(() => new MonopolyLikeCsReq());

		// Token: 0x04003320 RID: 13088
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003321 RID: 13089
		public const int ICFEEGEIIOBFieldNumber = 6;

		// Token: 0x04003322 RID: 13090
		private uint iCFEEGEIIOB_;
	}
}
